import requests
# 示例2：请求404的演示
# response = requests.get('https://m.maizuo.com/gateway?cityId=110100&pageNum=1&pageSize=10&type=1&k=6978725')
# print(response.status_code)

# 示例2：请求200的演示
response = requests.get('https://www.wzj.com/')
print(response.status_code)   #  网络请求的状态码，确保是200之后，才能做后续动作
print(response.text)